package com.pension.org.service;

import com.pension.org.entity.UserInfo;
import org.springframework.stereotype.Service;

@Service
public interface UserInfoService {
    //用户登录
    UserInfo findOne(UserInfo user);
    //用户注册
    int addOne(UserInfo user);
    //注册时的重名检测
    UserInfo checkReg(String userLogin);
}
